.class Lcom/instagram/android/directshare/g/n;
.super Ljava/lang/Object;
.source "DirectSharePermalinkFragment.java"

# interfaces
.implements Lcom/instagram/a/a;


# instance fields
.field final synthetic a:Lcom/instagram/android/directshare/g/c;


# direct methods
.method constructor <init>(Lcom/instagram/android/directshare/g/c;)V
    .locals 0
    .parameter

    .prologue
    .line 795
    iput-object p1, p0, Lcom/instagram/android/directshare/g/n;->a:Lcom/instagram/android/directshare/g/c;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 813
    iget-object v0, p0, Lcom/instagram/android/directshare/g/n;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->k(Lcom/instagram/android/directshare/g/c;)Lcom/instagram/j/l;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 814
    sget v0, Lcom/facebook/ax;->action_bar_overflow:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 815
    sget v0, Lcom/facebook/aw;->action_bar_textview_title:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/instagram/android/directshare/g/n;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 816
    sget v0, Lcom/facebook/aw;->action_bar_overflow_imageview:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v2, Lcom/instagram/android/directshare/g/o;

    invoke-direct {v2, p0}, Lcom/instagram/android/directshare/g/o;-><init>(Lcom/instagram/android/directshare/g/n;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object v0, v1

    .line 829
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public a()Ljava/lang/String;
    .locals 5

    .prologue
    .line 798
    iget-object v0, p0, Lcom/instagram/android/directshare/g/n;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->k(Lcom/instagram/android/directshare/g/c;)Lcom/instagram/j/l;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/instagram/android/directshare/g/n;->a:Lcom/instagram/android/directshare/g/c;

    sget v1, Lcom/facebook/ba;->directshare_permalink_title:I

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget-object v4, p0, Lcom/instagram/android/directshare/g/n;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v4}, Lcom/instagram/android/directshare/g/c;->k(Lcom/instagram/android/directshare/g/c;)Lcom/instagram/j/l;

    move-result-object v4

    invoke-virtual {v4}, Lcom/instagram/j/l;->ah()Lcom/instagram/model/b/a;

    move-result-object v4

    invoke-virtual {v4}, Lcom/instagram/model/b/a;->a()Lcom/instagram/android/model/b/e;

    move-result-object v4

    invoke-virtual {v4}, Lcom/instagram/android/model/b/e;->f()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/directshare/g/c;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public b()Z
    .locals 1

    .prologue
    .line 808
    iget-object v0, p0, Lcom/instagram/android/directshare/g/n;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->k(Lcom/instagram/android/directshare/g/c;)Lcom/instagram/j/l;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public c()Z
    .locals 1

    .prologue
    .line 835
    const/4 v0, 0x1

    return v0
.end method

.method public d()Z
    .locals 1

    .prologue
    .line 840
    iget-object v0, p0, Lcom/instagram/android/directshare/g/n;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->p(Lcom/instagram/android/directshare/g/c;)Z

    move-result v0

    return v0
.end method
